import request from "@/util/request";
// 提交认证
export const addAttestation = (body) => request({
  url: '/qichong-record/api/drp/verifyApply',
  method: 'post',
  data: body
})
// 查看是否认证
export const getSchedule = () => request({
  url: '/qichong-record/api/drp/verifyProgress'
})
// 获取银行卡类型
export const getBankType = () => request({
  url: '/qichong-record/api/drp/bankCardType',
});
// 获取银行卡
export const getBank = () => request({
  url: '/qichong-record/api/drp/bankCard',
})
// 绑定银行卡
export const addBank = (memberBankCard) => request({
  url: '/qichong-record/api/drp/bindingBankCard',
  method: 'post',
  data: memberBankCard
})
// 申请提现
export const addApply = (withdrawReq) => request({
  url: '/qichong-record/api/drp/withdraw/apply',
  method: 'post',
  data: withdrawReq
});
// 提醒记录
export const getWithdraw = (query) => request({
  url: '/qichong-record/api/drp/withdraw/log',
  params: query
})
// 我的分销中心
export const getDistribution = () => request({
  url: '/qichong-record/api/drp/me',
})
// 二维码
export const getQrcode = (query) =>request({
  url:'/qichong-record/api/drp/qrcode',
  params:query
})